package com.lovo.front.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @description: 用户退货订单实体类
 * @author: real_ygs
 * @date: 3/3/2023 4:21 PM
 **/
@TableName(value = "t_return_order")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class ReturnOrderEntity implements Serializable {

    /**
     * 退货订单id
     **/
    @TableId(type = IdType.AUTO)
    private Long returnOrderId;
    /**
     * 用户id
     **/
    private Long userId;
    /**
     * 退货订单编号
     **/
    private String returnOrderNo;
    /**
     * 购买订单编号
     **/
    private String buyOrderNo;
    /**
     * 应付金额
     **/
    private float originMoney;
    /**
     * 付款方式
     **/
    private int payMethod;
    /**
     * 实付金额
     **/
    private float payMoney;
    /**
     * 退货原因
     **/
    private String returnReason;
    /**
     * 退货时间
     **/
    private String returnTime;
    /**
     * 退货状态
     **/
    private int returnStatus;
}
